<div class="doanphicbs view">
<h2><?php  __('Doanphicb');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $doanphicb['Doanphicb']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Thang'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $this->Html->link($doanphicb['Thang']['id'], array('controller' => 'thangs', 'action' => 'view', $doanphicb['Thang']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Sotien'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $doanphicb['Doanphicb']['sotien']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $doanphicb['Doanphicb']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Doanphicb', true), array('action' => 'edit', $doanphicb['Doanphicb']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Doanphicb', true), array('action' => 'delete', $doanphicb['Doanphicb']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $doanphicb['Doanphicb']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Doanphicbs', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Doanphicb', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Thangs', true), array('controller' => 'thangs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Thang', true), array('controller' => 'thangs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Tgdongdoanphicbs', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Tgdongdoanphicb', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Tgdongdoanphicbs');?></h3>
	<?php if (!empty($doanphicb['Tgdongdoanphicb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Canbo Id'); ?></th>
		<th><?php __('Doanphicb Id'); ?></th>
		<th><?php __('Ngaydong'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($doanphicb['Tgdongdoanphicb'] as $tgdongdoanphicb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $tgdongdoanphicb['id'];?></td>
			<td><?php echo $tgdongdoanphicb['canbo_id'];?></td>
			<td><?php echo $tgdongdoanphicb['doanphicb_id'];?></td>
			<td><?php echo $tgdongdoanphicb['ngaydong'];?></td>
			<td><?php echo $tgdongdoanphicb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'view', $tgdongdoanphicb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'edit', $tgdongdoanphicb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'delete', $tgdongdoanphicb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tgdongdoanphicb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Tgdongdoanphicb', true), array('controller' => 'tgdongdoanphicbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
